package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import springfox.documentation.annotations.ApiIgnore;

/**
 * <p>
 * 家长满意度调查
 * </p>
 *
 * @author hpiggy
 * @since 2023-06-12
 */
@TableName("patriarch_satisfy")
@ApiModel(value = "PatriarchSatisfy对象", description = "家长满意度调查")
@Data
public class PatriarchSatisfy implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("校区id")
    private Long schoolId;
    @TableField(exist = false)
    private String schoolName;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("季度")
    private Integer quarterNum;

    @ApiModelProperty("科目")
    private Long subjectsId;

    @TableField(exist = false)
    private String subjectsName;

    @ApiModelProperty("教师id")
    private Long teacherId;

    @TableField(exist = false)
    private String headImg;

    @TableField(exist = false)
    private String teacherName;

    @ApiModelProperty("班级")
    private Long gradeId;

    @TableField(exist = false)
    private String gradeName;

    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ApiModelProperty("学生id")
    private Long studentId;

    @ApiModelProperty("学生姓名")
    private String studentName;

    @ApiModelProperty("剩余课时")
    private Integer residueCourseCount;

    @ApiModelProperty("是否满意0未评价，1满意，2一般，3差劲")
    private Integer evaluateType;

    @ApiModelProperty("是否上下一季度的课，0：否，1：是(此字段作废)")
    private Integer isOnNextClass;

    /**
     * 家长选择的学期
     */
    private Integer checkQuarterNum;

    private Integer nextQuarterNum;

    @ApiModelProperty("是否删除，0否，1是")
    private Integer deleted;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    @TableField(exist = false)
    private List<Quarter> quarterList;
}
